home *** CD-ROM | disk | FTP | other *** search
- global gFlagSprite, gUserLevel
-
- on mouseDown
- set gFlagSprite to the clickOn
- if legalButton(gFlagSprite) then
- set gUserLevel to 3
- setProp(gFlagSprite, gFlagSprite + 2, "puppet", 1)
- set the castNum of sprite gFlagSprite to the number of cast "Flag3, 1"
- set the castNum of sprite (gFlagSprite + 1) to the number of cast "Flag2, 0"
- set the castNum of sprite (gFlagSprite + 2) to the number of cast "Flag1, 0"
- updateStage()
- checkNewGame()
- end if
- end
-